export default [
  {
    path: "/user",
    routes: [
      {
        path: "/user",
        redirect: "/user/login",
      },
      {
        name: "登录",
        path: "/user/login",
        component: "./user/login",
      },
    ],
  },
  {
    path: '/',
    name: '欢迎使用',
    component:"@/layouts/layout",
    routes: [
      {
        path: '/',
        redirect: '/port',
      },
      {
        name: '报单',
        path: '/port',
        component: './port',
      },
      {
        name: '退货单',
        path: '/report',
        component: './report',
      },
    ],
  },
];
